﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QXBook.Model
{
    /// <summary>
    /// 键值对 写入数据库字段为{Text:'',Value:''}
    /// </summary>
    public class Option
    {
        public Option(string text, string value)
        {
            this._Text = text;
            this._Value = value;
        }
        /// <summary>
        /// //内容   
        /// </summary>
        public string Text { get { return this._Text; } set { this._Text = value; } }
        /// <summary>
        /// //值
        /// </summary>
        public string Value { get { return this._Value; } set { this._Value = value; } }

        private string _Text { get; set; }        //内容     
        private string _Value { get; set; }      //值
    }
}
